﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HorizontalMenu.ascx.cs" Inherits="control_HorizontalMenu" %>
<asp:Menu ID="topHorizontalMenu" runat="server" DataSourceID="mainSitemap" SkinID="topMenu" 
    OnMenuItemDataBound="topHorizontalMenu_MenuItemDataBound" >
    <DataBindings>
        <asp:MenuItemBinding DataMember="SiteMapNode" TextField="Title" ToolTipField="Description"
            ValueField="Title" NavigateUrlField="Url" />
    </DataBindings>
</asp:Menu>
<asp:SiteMapDataSource ID="mainSitemap" runat="server" ShowStartingNode="true" />